powered by
This method overrides the "[" operator for a matH object.
matH
# S4 method for MatH [(x, i, j, ..., drop = TRUE)
A matH object
a matH object
a set of integer values identifying the rows
a set of integer values identifying the columns
not useful
a logical value inherited from the basic method "[" but not used (default=TRUE)
D <- BLOOD # the BLOOD dataset SUB_D <- BLOOD[c(1, 2, 5), c(1, 2)]
Run the code above in your browser using DataLab